<!-- Copyright (c) 2022 渝州大数据实验室
 *
 * Lanius is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *
 *     http://license.coscl.org.cn/MulanPSL2
 *
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 -->
<!-- 
* @desc:加载信息提示组件
* @fileName:load.vue
* @author:zhouyongjie@yzbdl.ac.cn
* @date:2022-5-12
!-->
<script setup lang="ts">
import { Loading } from "@element-plus/icons-vue";
</script>

<template>
  <div
    class="el-message is-center Loadclass"
    role="alert"
    style="top: 36px; z-index: 2147"
  >
    <el-icon color="#fff" :size="16" class="is-loading"><loading /></el-icon>
    <p class="el-message__content" style="margin-left: 8px">测试中，请稍后！</p>
  </div>
</template>

<style scoped lang="scss">
.el-message {
  min-width: 200px !important;
  width: 200px !important;
}
:deep(.el-message) {
  min-width: 200px !important;
  width: 200px !important;
}
.Loadclass {
  opacity: 90%;
  width: 200px !important;
  height: 60px !important;
  background-color: #5473e6;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 14px;
}
</style>
